Question: 1 -
In which year was the Python language developed?
-
1998
-
1989
-
1990
-
1995
Answer:
1989
Solution:
Python language was developed by Guido van Rossum in the Netherlands in 1989.
Python language was developed by Guido van Rossum in the Netherlands in 1989.
Question: 2 -
What is the maximum possible length of an identifier?
-
64
-
32
-
None of these
-
16
Answer:
None of these
Solution:
The maximum possible length of an identifier is not defined in the python language. It can be of any number.
The maximum possible length of an identifier is not defined in the python language. It can be of any number.
Question: 3 -
Which one of the following is the correct extension of the Python file?
-
None of these
-
.py
-
.p
-
.python
Answer:
.py
Solution not available.
Question: 4 -
What do we use to define a block of code in Python language?
-
Key
-
Brackets
-
Indentation
-
None of these
Answer:
Indentation
Solution not available.
Question: 5 -
In which language is Python written?
-
Java
-
C++
-
php
-
C
Answer:
C
Solution:
Python is written in C programming language, and it is also called CPython.
Python is written in C programming language, and it is also called CPython.